]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
2 years agostyle: Clean up dialogs stylesheet to fix layout issues
Sam Hewitt [Mon, 16 Sep 2024 14:44:44 +0000 (12:14 -0230)]
style: Clean up dialogs stylesheet to fix layout issues

- remove unnecessary dialog type-specific padding, spacing and margin definitions that led to layout to problems
- bump the size of user avatar in authentication dialog
- nest css classes in the sass to better reflect the structure of dialog elements
- sync style of audio device selector with switcher-popup style
- sync text and padding styles with other elements
- fix incorrect button order in audio selection dialog

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7876
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3473>

2 years agotests: Add extensionUtils unit test
Florian Müllner [Sun, 21 Jan 2024 23:44:40 +0000 (00:44 +0100)]
tests: Add extensionUtils unit test

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3379>

2 years agoextensionSystem: Split out loadExtensionMetadata()
Florian Müllner [Sun, 21 Jan 2024 22:31:31 +0000 (23:31 +0100)]
extensionSystem: Split out loadExtensionMetadata()

There is no need for sharing the functionality, but moving
the code into extensionUtils allows adding unit tests for it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3379>

2 years agoextensionUtils: Include arrays and objects in serialization
Florian Müllner [Thu, 20 Jun 2024 18:46:18 +0000 (20:46 +0200)]
extensionUtils: Include arrays and objects in serialization

We currently only handle simple types when (de)serializing,
which means we miss keys like "shell-version" and "session-modes".

While there is no immediate use for those, handing arrays and
objects will allow to support the newly added "donate" metadata
in the Extensions app in the future.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6575

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3379>

2 years agost: Use macros to generate type boilerplate
Bilal Elmoussaoui [Wed, 16 Oct 2024 10:32:04 +0000 (12:32 +0200)]
st: Use macros to generate type boilerplate

Also mark certain types as final when they are not meant to be used
externally

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3506>

2 years agost/focus-manager: Mark as final type
Bilal Elmoussaoui [Wed, 16 Oct 2024 11:57:48 +0000 (13:57 +0200)]
st/focus-manager: Mark as final type

Nothing can derive this type. Also squeeze in a macro usage for cleanup

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3508>

2 years agost: Remove useless HAVE_CONFIG
Bilal Elmoussaoui [Wed, 16 Oct 2024 11:50:52 +0000 (13:50 +0200)]
st: Remove useless HAVE_CONFIG

That doesn't exists anymore

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>

2 years agoPrefer using pragma once
Bilal Elmoussaoui [Wed, 16 Oct 2024 11:17:21 +0000 (13:17 +0200)]
Prefer using pragma once

Similar to what we did in mutter

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>

2 years agoUse NULL for nick/blurb in GObject params
Bilal Elmoussaoui [Wed, 16 Oct 2024 09:51:23 +0000 (11:51 +0200)]
Use NULL for nick/blurb in GObject params

As they are only used by gstreamer for gst-inspect & other tools.
Projects like Mutter/gtk have completely dropped them as well, so follow
their path

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3505>

2 years agojs: Update Meta.KeyHandlerFunc arguments
Guacamolie [Sun, 13 Oct 2024 13:52:44 +0000 (15:52 +0200)]
js: Update Meta.KeyHandlerFunc arguments

The Meta keybinding API now exposes the Clutter event to GJS, which was
previously hidden due to it being a gpointer. Since this moves the
binding argument one argument to the right on the GJS side, any code
that was using the binding argument needs to be updated.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3502>

2 years agowindowMenu: Add context to screenshot action
Florian Müllner [Tue, 15 Oct 2024 14:08:45 +0000 (16:08 +0200)]
windowMenu: Add context to screenshot action

The string "Take Screenshot" is used both by the action in the
window menu and the screenshot/recording toggle in the UI.

However in some languages, it would be best to use different
strings for the two use cases.

Address this by adding context to the window menu string, so
it can be differentiated from the string in the screenshot UI.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7979
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3503>

2 years agoci: Use `project` include type where possible
Florian Müllner [Tue, 15 Oct 2024 15:18:35 +0000 (17:18 +0200)]
ci: Use `project` include type where possible

No need to pull in templates from the same gitlab instance via
http.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3504>

2 years agostatus/keyboard: Always released held keyboard after activating source
Florian Müllner [Fri, 11 Oct 2024 12:30:44 +0000 (14:30 +0200)]
status/keyboard: Always released held keyboard after activating source

As the keyboard is released asynchronously after setting the ibus
engine, there's a possibility that the `this._reloading` property
changed in the meantime.

To ensure that `holdKeyboard()` and `releaseKeyboard()` are correctly
paired, record the condition in a local variable so that it maintains
its value in the callback.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3476>

2 years agostatus/keyboard: Fix execution order when activating source
Florian Müllner [Thu, 19 Sep 2024 22:33:29 +0000 (00:33 +0200)]
status/keyboard: Fix execution order when activating source

When commit ce89b15bb123d made the code async, it did not only
delay releasing the keyboard until after the engine has been
updated, but also the following code that updates the current
input source.

One result is that the current source is now initialized later,
which breaks any code that relies on the source being set.

This affects the login screen in particular (which uses different
`InputSourceSettings` than the regular session): It fails to come
up entirely if the OSK is enabled.

To fix the issue, use a .then() callback to release the keyboard,
instead of blocking all following code with await.

Fixes: ce89b15bb1 ("ibusManager: Use async await instead of callbacks")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7912
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3476>

2 years agoAdd Faroese translation
Bogi Napoleon Wennerström [Tue, 15 Oct 2024 06:15:09 +0000 (06:15 +0000)]
Add Faroese translation

(cherry picked from commit f68111275143423df1d0a70d54f31347b8891d66)

2 years agoslider: Consider text direction when handling arrow keys
Sundeep Mediratta [Wed, 9 Oct 2024 17:17:30 +0000 (13:17 -0400)]
slider: Consider text direction when handling arrow keys

Currently the right arrow key always increases the slider value,
even in RTL locales where the slider itself increases leftwards.

Fix that, so that the arrow keys always correspond to the
direction of the slider.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7963

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3500>

2 years agoIgnore meson-wrap subprojects
Florian Müllner [Wed, 9 Oct 2024 02:01:02 +0000 (04:01 +0200)]
Ignore meson-wrap subprojects

Both gvc and jasmine-gjs use a subproject wrap, so we never want to
check in the checked out sources.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3499>

2 years agotools/toolbox: Skip install step with --dist
Florian Müllner [Fri, 4 Oct 2024 11:24:46 +0000 (13:24 +0200)]
tools/toolbox: Skip install step with --dist

The dist command only needs an up-to-date build directory, it
does not require the project to be installed first.

While the install step is generally quick, leaving the container
file system alone can save a rebuild after the dist is done
(for instance when testing a branch, then temporarily switching
to the release branch for dist).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3497>

2 years agotools/toolbox: Small refactor
Florian Müllner [Fri, 4 Oct 2024 11:10:35 +0000 (13:10 +0200)]
tools/toolbox: Small refactor

Handing the various options to different meson commands in meson-build
gets a bit tedious. Instead of handling them all on the toplevel,
split out *_command() functions that generate the commandline for
the corresponding meson command.

That way, options are handled locally where they matter, which
makes future changes and additions a bit easier.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3497>

2 years agoci: Improve install-meson-project usage output
Florian Müllner [Fri, 4 Oct 2024 15:12:23 +0000 (17:12 +0200)]
ci: Improve install-meson-project usage output

Most of the options require a parameter, indicate that in the
usage output.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3497>

2 years agoUpdate Friulian translation
Fabio Tomat [Mon, 7 Oct 2024 15:03:25 +0000 (15:03 +0000)]
Update Friulian translation

2 years agoUpdate Kabyle translation
Athmane MOKRAOUI [Mon, 7 Oct 2024 08:40:17 +0000 (08:40 +0000)]
Update Kabyle translation

2 years agoUpdate Kabyle translation
Athmane MOKRAOUI [Sun, 6 Oct 2024 15:31:41 +0000 (15:31 +0000)]
Update Kabyle translation

2 years agoUpdate Kabyle translation
Athmane MOKRAOUI [Sun, 6 Oct 2024 14:00:38 +0000 (14:00 +0000)]
Update Kabyle translation

2 years agoextensionSystem: Catch and log session update errors
Marco Trevisan (Treviño) [Thu, 3 Oct 2024 15:00:20 +0000 (17:00 +0200)]
extensionSystem: Catch and log session update errors

If sessionUpdated() fails we get a js failure but not information about
where the actual problem was, so catch for error properly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3495>

2 years agobuild: Replace cogl-pango with pango dependency
Bilal Elmoussaoui [Wed, 4 Sep 2024 15:14:43 +0000 (17:14 +0200)]
build: Replace cogl-pango with pango dependency

As CoglPango will be merged with Clutter and GNOME Shell
only uses Pango directly, so depend on that instead

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3494>

2 years agobuild: Disable asserts and cast checks
Robert Mader [Tue, 9 Jan 2024 16:32:37 +0000 (17:32 +0100)]
build: Disable asserts and cast checks

For non-debug and non-plain cases - i.e. mainly release builds - in
order to mirror Mutter.

One advantage of doing this is that it allows us to use non-trivial
asserts more generously, such as calling `g_list_length()`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3099>

2 years agoextensions-tool: Remove reference to compiled schemas
Florian Müllner [Sat, 28 Sep 2024 19:59:19 +0000 (21:59 +0200)]
extensions-tool: Remove reference to compiled schemas

Since GNOME 44, schemas are compiled at install time, and the tool
stopped including compiled schemas in GNOME 46.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3490>

2 years agoUpdate Norwegian Bokmål translation
Brage Fuglseth [Tue, 1 Oct 2024 07:06:45 +0000 (07:06 +0000)]
Update Norwegian Bokmål translation

2 years agopopupSwitchMenuItem: Emit correct switch state with toggled signal
Andrew Zaech [Sun, 29 Sep 2024 22:43:15 +0000 (22:43 +0000)]
popupSwitchMenuItem: Emit correct switch state with toggled signal

The toggled signal was incorrectly emitting the pspec instead of the switch state.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7943

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3493>

2 years agost/theme-node-drawing: Trace the correct path for inset box shadows
Daniel van Vugt [Thu, 26 Sep 2024 10:26:21 +0000 (18:26 +0800)]
st/theme-node-drawing: Trace the correct path for inset box shadows

Previously we just copied the outer path and scaled it down, but that
resulted in an inconsistent thickness at the corners because the pivot
points for the arcs also moved inward.

So now we trace the inset path explicitly to maintain the correct
thickness (spread) around all the corners.

The spec actually mentions you need to do it in section 6.1 [1]:

> Note that for inner shadows, expanding the shadow (creating more
> shadow area) means contracting the shadow’s perimeter shape.

Despite the fact the example diagram gets it wrong in section 6.1.1 [2],
it does then follow with more confirmation that the shadow radius should
be reduced:

> To preserve the box’s shape when spread is applied, the corner radii
> of the shadow are also increased (decreased, for inner shadows) from
> the border-box (padding-box) radii by adding (subtracting) the spread
> distance (and flooring at zero).

[1] https://www.w3.org/TR/css-backgrounds-3/#box-shadow
[2] https://www.w3.org/TR/css-backgrounds-3/#shadow-shape

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7913
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3488>

2 years agoUpdate Bengali translation
Mahdi Hasan [Tue, 24 Sep 2024 17:16:54 +0000 (17:16 +0000)]
Update Bengali translation

2 years agoquick-toggle: Make the subtitle the a11y description of the toggle
Lukáš Tyrychtr [Tue, 24 Sep 2024 10:08:47 +0000 (12:08 +0200)]
quick-toggle: Make the subtitle the a11y description of the toggle

By doing that, more info is read by default, like the
connected bluetooth device and likely more.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3484>

2 years agobuild: Bump mutter API version
Florian Müllner [Mon, 23 Sep 2024 11:01:53 +0000 (13:01 +0200)]
build: Bump mutter API version

We have branched, so mutter's API version was bumped for GNOME 48.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3482>

2 years agopadOsd: Don't hardcode blue color
Alice Mikhaylenko [Mon, 23 Sep 2024 00:42:40 +0000 (04:42 +0400)]
padOsd: Don't hardcode blue color

Missed this one, since it's not set from CSS.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3480>

2 years agoquick-slider: Do not allow focusing the icon when it's not reactive
Lukáš Tyrychtr [Mon, 23 Sep 2024 08:47:49 +0000 (10:47 +0200)]
quick-slider: Do not allow focusing the icon when it's not reactive

This hides a disabled unlabeled button from the focus order in the display
brightness status indicator, and may be others.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3481>

2 years agoci: Adjust to dnf5 plugin changes
Florian Müllner [Fri, 20 Sep 2024 19:18:37 +0000 (21:18 +0200)]
ci: Adjust to dnf5 plugin changes

F41 includes dnf5, which involves changes to the config-manager
plugin.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3479>

2 years agoci: Bump mutter image
Florian Müllner [Fri, 20 Sep 2024 18:07:06 +0000 (20:07 +0200)]
ci: Bump mutter image

The image was rebased to F41, pick that up.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3478>

2 years agoquick-slider: Label the menu opening button
Lukáš Tyrychtr [Fri, 20 Sep 2024 13:30:40 +0000 (15:30 +0200)]
quick-slider: Label the menu opening button

One less unlabeled button, that's good.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3477>

2 years agoUpdate Spanish translation
Daniel Mustieles [Wed, 18 Sep 2024 07:27:17 +0000 (07:27 +0000)]
Update Spanish translation

2 years agoUpdate Thai translation
Aefgh Threenine [Tue, 17 Sep 2024 18:40:32 +0000 (18:40 +0000)]
Update Thai translation

2 years agoUpdate Thai translation
Aefgh Threenine [Mon, 16 Sep 2024 15:10:27 +0000 (15:10 +0000)]
Update Thai translation

2 years agoBump version to 47.0
Florian Müllner [Sat, 14 Sep 2024 15:11:01 +0000 (17:11 +0200)]
Bump version to 47.0

Update NEWS.

2 years agoUpdate Thai translation
Aefgh Threenine [Thu, 12 Sep 2024 09:12:23 +0000 (09:12 +0000)]
Update Thai translation

2 years agogdm: Actually wait for pending messages being notified on failures
Marco Trevisan (Treviño) [Tue, 10 Sep 2024 22:22:57 +0000 (00:22 +0200)]
gdm: Actually wait for pending messages being notified on failures

We had code to ensure that all the queued messages sent by a PAM module
were shown by waiting some time to give the user time to read them, but
due to a typo this code never executed.

Fixes commit dd97a2589b8b686f273550f3e9e6ce370b25c10d

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3466>

2 years agoci: Restrict use of "Fixes #123"
Florian Müllner [Tue, 10 Sep 2024 14:53:42 +0000 (16:53 +0200)]
ci: Restrict use of "Fixes #123"

Our convention is to use "Fixes" lines for references commits
(like belated "fixups") and use "closes" for issues.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>

2 years agoci: Extend "closes" rule
Florian Müllner [Tue, 10 Sep 2024 14:12:23 +0000 (16:12 +0200)]
ci: Extend "closes" rule

Gitlab also recognizes variants like "close #123" or "Closed #123".

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>

2 years agoci: Deny a plain "Closes: #123" message in the commit message
Peter Hutterer [Mon, 9 Sep 2024 01:07:08 +0000 (11:07 +1000)]
ci: Deny a plain "Closes: #123" message in the commit message

We need the full link so let's warn contributors about this instead of
having reviewers pointing this out.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>

2 years agoUpdate Hungarian translation
Balázs Úr [Tue, 10 Sep 2024 20:57:58 +0000 (20:57 +0000)]
Update Hungarian translation

2 years agoUpdate Latvian translation
Rūdolfs Mazurs [Tue, 10 Sep 2024 19:31:44 +0000 (19:31 +0000)]
Update Latvian translation

2 years agoUpdate Danish translation
Ask Hjorth Larsen [Sun, 8 Sep 2024 17:01:00 +0000 (17:01 +0000)]
Update Danish translation

2 years agoUpdate British English translation
Andi Chandler [Sun, 8 Sep 2024 12:25:38 +0000 (12:25 +0000)]
Update British English translation

2 years agoUpdate Swedish translation
Anders Jonsson [Fri, 6 Sep 2024 21:07:58 +0000 (21:07 +0000)]
Update Swedish translation

2 years agolocatePointer: Mark the animation as required
Alessandro Bono [Fri, 20 Oct 2023 20:00:59 +0000 (22:00 +0200)]
locatePointer: Mark the animation as required

When the accessibility option "Reduce Animation" is turned on, the
accessibility option "Locate Pointer" stops to work. This is because
the animation is not marked as required. Mark it as such.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7472
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoripples: Allow to specify whether the ripple is required
Alessandro Bono [Fri, 20 Oct 2023 20:00:55 +0000 (22:00 +0200)]
ripples: Allow to specify whether the ripple is required

The ripples are used both for the "Hot Corner" animation and for the
"Locate Pointer" animation. The latter one is an accessibility feature
and should always work, even when animations are disabled. Take this
into account.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoenvironment: Allow marking animations as required
Alessandro Bono [Fri, 20 Oct 2023 20:00:47 +0000 (22:00 +0200)]
environment: Allow marking animations as required

There are cases when we want to mark an animation as required. For
example, we want the "Locate Pointer" animation to work even when
the animation as marked as disabled. Take this into account when
easing an actor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoanimationUtils: Allow marking animations as required
Alessandro Bono [Fri, 20 Oct 2023 20:00:40 +0000 (22:00 +0200)]
animationUtils: Allow marking animations as required

There are cases when we want to mark an animation as required. For
example, we want the "Locate Pointer" animation to work even when
the animation is marked as disabled. Take this into account when
adjusting the animation time.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoenvironment: Adjust optional delay parameter
Alessandro Bono [Fri, 6 Sep 2024 08:47:25 +0000 (10:47 +0200)]
environment: Adjust optional delay parameter

All timing parameters should take the `slow-down-factor` and
`enable-animations` settings into account, but the delay parameter
of property/adjustment animations was forgotten.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoenvironment: Make more explicit what are the default values
Alessandro Bono [Thu, 5 Sep 2024 12:41:30 +0000 (14:41 +0200)]
environment: Make more explicit what are the default values

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoci: Limit sysext-build jobs to x86_64_v3 runners
Martin Abente Lahaye [Fri, 6 Sep 2024 12:05:49 +0000 (08:05 -0400)]
ci: Limit sysext-build jobs to x86_64_v3 runners

We have recently bumped GNOME OS baseline to x86_64_v3 and
this caused issues with x86_64_v2 runners.

See https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1665

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3464>

2 years agoibusManager: Simplify code and logic for setEngine()
Sundeep Mediratta [Sun, 4 Aug 2024 17:24:17 +0000 (13:24 -0400)]
ibusManager: Simplify code and logic for setEngine()

Reword names, functions and refactor code to make code execution logic
simpler to understand.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>

2 years agokeyboard: Replace `oskCompletion` setter with public method
Sundeep Mediratta [Thu, 15 Aug 2024 20:18:39 +0000 (16:18 -0400)]
keyboard: Replace `oskCompletion` setter with public method

The underlying value only changes asynchronously, which makes a
setter a bit awkward, so replace it with a public async function.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>

2 years agoibusManager: Change return value of `setCompletionEnabled()`
Sundeep Mediratta [Sun, 4 Aug 2024 17:33:47 +0000 (13:33 -0400)]
ibusManager: Change return value of `setCompletionEnabled()`

The return value currently indicates whether the request was
successful, namely `setCompletionEnabled(false)` will return
`true` if completions were successfully disabled.

However the only caller that uses the value uses it to indicate
whether completions were enabled.

Given that nothing else uses the value, change the meaning to
match the caller, and indicate whether completions are enabled
after the call returns.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>

2 years agoibusManager: Use async await instead of callbacks
Sundeep Mediratta [Thu, 1 Aug 2024 23:18:33 +0000 (19:18 -0400)]
ibusManager: Use async await instead of callbacks

Code that uses async/await is often easier to follow than callbacks, in
particular as part of the code is already async.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>

2 years agometainfo: Add URL to contribute
Balló György [Thu, 20 Jun 2024 13:53:28 +0000 (15:53 +0200)]
metainfo: Add URL to contribute

See: https://gitlab.gnome.org/GNOME/Initiatives/-/issues/51

# Conflicts:
# subprojects/extensions-app/data/metainfo/org.gnome.Extensions.metainfo.xml.in

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3374>

2 years agoUpdate Galician translation
Fran Dieguez [Mon, 2 Sep 2024 21:25:44 +0000 (21:25 +0000)]
Update Galician translation

2 years agostatus/network: Add user permissions to new wifi connections
Thore Sommer [Mon, 2 Sep 2024 08:39:46 +0000 (10:39 +0200)]
status/network: Add user permissions to new wifi connections

When creating a new NM connection they are by default system connections. A
user cannot create them if they don't have the correct polkit permissions
(org.freedesktop.NetworkManager.settings.modify.system).

If a user tried to add a new connection in the drop down menu, then they got
no password prompt and NM logged the following:
[...] audit: op="connection-add-activate" pid=1872 uid=1000 result="fail" \
reason="Insufficient privileges"

This change adds the current user to the user permissions for the new
connection, if the user has no permissions to modify the system connections,
which copies the behavior of GNOME Settings.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3462>

2 years agoUpdate Lithuanian translation
Aurimas Černius [Mon, 2 Sep 2024 19:39:47 +0000 (19:39 +0000)]
Update Lithuanian translation

2 years agoauthPrompt: Allow to set a custom ShellUserVerifer
Alessandro Bono [Mon, 19 Aug 2024 08:42:08 +0000 (10:42 +0200)]
authPrompt: Allow to set a custom ShellUserVerifer

Move ShellUserVerifier creation to its own function so that
extensions can easily override it.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7828
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3446>

2 years agoUpdate Spanish translation
Daniel Mustieles [Mon, 2 Sep 2024 09:43:14 +0000 (09:43 +0000)]
Update Spanish translation

2 years agoUpdate Bulgarian translation
Alexander Shopov [Mon, 2 Sep 2024 08:35:57 +0000 (08:35 +0000)]
Update Bulgarian translation

2 years agoUpdate Bulgarian translation
twlvnn kraftwerk [Mon, 2 Sep 2024 08:27:27 +0000 (08:27 +0000)]
Update Bulgarian translation

(cherry picked from commit 4b3bc8f1cc21f04137419ef972c201354dcd3273)

2 years agoUpdate French translation
Irénée THIRION [Mon, 2 Sep 2024 07:17:13 +0000 (07:17 +0000)]
Update French translation

2 years agoUpdate Thai translation
Aefgh Threenine [Mon, 2 Sep 2024 06:38:47 +0000 (06:38 +0000)]
Update Thai translation

2 years agoBump version to 47.rc
Florian Müllner [Sat, 31 Aug 2024 15:30:50 +0000 (17:30 +0200)]
Bump version to 47.rc

Update NEWS.

2 years agoUpdate Turkish translation
Sabri Ünal [Sun, 1 Sep 2024 11:08:07 +0000 (11:08 +0000)]
Update Turkish translation

2 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sun, 1 Sep 2024 08:20:10 +0000 (08:20 +0000)]
Update Kazakh translation

2 years agoUpdate Indonesian translation
Andika Triwidada [Sun, 1 Sep 2024 08:15:27 +0000 (08:15 +0000)]
Update Indonesian translation

2 years agoUpdate Polish translation
Piotr Drąg [Sat, 31 Aug 2024 13:37:33 +0000 (13:37 +0000)]
Update Polish translation

2 years agoci: Bump mutter image
Florian Müllner [Thu, 29 Aug 2024 14:35:23 +0000 (16:35 +0200)]
ci: Bump mutter image

Mutter bumped its pipewire requirement, pull it in.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3459>

2 years agoRevert "ci: Include docutils in sysext image"
Florian Müllner [Thu, 29 Aug 2024 14:32:51 +0000 (16:32 +0200)]
Revert "ci: Include docutils in sysext image"

gnome-build-meta has been updated to pull in rst2man for
gnome-shell.

This reverts commit ef0341edacda2d915c14973afdeae77c647cb8c8.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3459>

2 years agoibus-candidate-popup: Scale coordinates from IBus
Jonas Ådahl [Thu, 29 Aug 2024 13:26:39 +0000 (15:26 +0200)]
ibus-candidate-popup: Scale coordinates from IBus

The coordinates are effectively in the windowing system coordinate
space, which when scaling Xwayland, we need to scale these. Do this with
the Meta.Window.protocol_to_stage() function on the focused window,
which handles it correctly for the corresponding windowing system and
configuration.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3458>

2 years agoUpdate Portuguese translation
Hugo Carvalho [Fri, 30 Aug 2024 10:14:28 +0000 (10:14 +0000)]
Update Portuguese translation

2 years agoUpdate Korean translation
Changwoo Ryu [Thu, 29 Aug 2024 23:33:05 +0000 (23:33 +0000)]
Update Korean translation

2 years agotest/theme: Get ClutterSettings from the ClutterStage
Bilal Elmoussaoui [Fri, 23 Aug 2024 14:31:55 +0000 (16:31 +0200)]
test/theme: Get ClutterSettings from the ClutterStage

As the global getter is now gone

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3452>

2 years agoquick-settings: Handle interrupted menu animations
Dylan McCall [Fri, 9 Sep 2022 18:34:07 +0000 (11:34 -0700)]
quick-settings: Handle interrupted menu animations

If the menu is closed while it is being opened, we should skip the next
animation in the chain. Similarly, if a menu is opened while it is being
closed, we should continue the animation from the previous state instead
of resetting height to 0.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5843
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2481>

2 years agocleanup: Remove gnome-shell-extension-prefs wrapper
Florian Müllner [Wed, 28 Aug 2024 14:44:42 +0000 (16:44 +0200)]
cleanup: Remove gnome-shell-extension-prefs wrapper

After the old tool transformed into the extensions app, we added
a wrapper for compatibility with extensions that spawned the
command to open their preferences.

This was a long time ago.

As the ESM port happened since, we *know* that all extensions
are newer than that change. And as spawning the old prefs tool
is no longer accepted in review, no extension that is compatible
with current shell versions still does it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3456>

2 years agoUpdate Belarusian translation
Vasil Pupkin [Wed, 28 Aug 2024 21:32:45 +0000 (21:32 +0000)]
Update Belarusian translation

2 years agoman: Use .rst suffix for sources
Florian Müllner [Wed, 28 Aug 2024 11:26:27 +0000 (13:26 +0200)]
man: Use .rst suffix for sources

It's more common to use the dedicated .rst suffix for reStructuredText
files, so now that the files were ported,
use that.

(Renaming the files separately from changing it is less likely
to confuse git, thus the separate commit)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agoman: Port the man pages to reStructuredText
Florian Müllner [Wed, 28 Aug 2024 10:52:05 +0000 (12:52 +0200)]
man: Port the man pages to reStructuredText

It's as human-readable as asciidoc and produces the same results,
but the tooling is more widely supported. Also both GLib and GTK
switched to it for their man pages, so rst2man is already a
dependency of the platform.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agobuild: Stop pre-generating man pages
Florian Müllner [Wed, 28 Aug 2024 10:55:13 +0000 (12:55 +0200)]
build: Stop pre-generating man pages

The original asciidoc project is still stuck on python2, so on
distros that didn't switch to a fork (like Fedora), it pulls
in over 100M of legacy dependencies.

However we are about to move our man pages to reStructuredText
which doesn't have that issue, and which is already used for
GLib's and GTK's man pages.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agoci: Include docutils in sysext image
Florian Müllner [Wed, 28 Aug 2024 13:30:50 +0000 (15:30 +0200)]
ci: Include docutils in sysext image

We need rst2man to switch from asciidoc to reStructuredText for
man pages. Pull it in ourselves until the change lands and
gnome-build-meta is updated.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agotests/dbus-runner: Pass along **kargs in setUpClass()
Jonas Ådahl [Wed, 28 Aug 2024 13:56:27 +0000 (15:56 +0200)]
tests/dbus-runner: Pass along **kargs in setUpClass()

This means gnomeshell_dbusrunner.py only need to bother with arguments
it needs to care about, which currently are none.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3455>

2 years agoUpdate Belarusian translation
Vasil Pupkin [Tue, 27 Aug 2024 19:58:00 +0000 (19:58 +0000)]
Update Belarusian translation

2 years agodash: Show move cursor on app icon dnd to dash
Daniel Sheeler [Sat, 24 Aug 2024 16:01:20 +0000 (11:01 -0500)]
dash: Show move cursor on app icon dnd to dash

Previously, the 'copy' drag and drop cursor was displayed when dragging
an application icon to the dash (which adds the app to favorites),
but the operation is really a move, so ensure the 'move'
dnd cursor is used.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7819
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3453>

2 years agoci: Update gjs-ci-tools
Florian Müllner [Mon, 19 Aug 2024 18:30:46 +0000 (20:30 +0200)]
ci: Update gjs-ci-tools

The repository moved to a new namespace, so make sure we pick
up the change the next time we rebuild the JS image.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3449>

2 years agoUpdate Occitan translation
Quentin PAGÈS [Mon, 26 Aug 2024 18:34:15 +0000 (18:34 +0000)]
Update Occitan translation

2 years agoUpdate Persian translation
Danial Behzadi [Mon, 26 Aug 2024 08:40:59 +0000 (08:40 +0000)]
Update Persian translation

2 years agoUpdate Czech translation
Daniel Rusek [Sun, 25 Aug 2024 13:04:37 +0000 (13:04 +0000)]
Update Czech translation

2 years agoUpdate Norwegian Bokmål translation
Brage Fuglseth [Sat, 24 Aug 2024 15:54:44 +0000 (15:54 +0000)]
Update Norwegian Bokmål translation